<?php//对比一下头传过来的userid 和 openid是否对应 function check_connection_authur($user_id,$openid) {     global $table_Prefix;     $user=select_one_line_all_items($table_Prefix.'member',         "nid= '{$user_id}' and app_open_id ='{$openid}'");     if($user['nid'] > 0 )     {         return $user;     }     else     {         return "用户不存在:".$user_id." openid:".$openid;     } };?>